package com.situ.mapper;

import com.situ.domain.entity.TFavorites;
import com.situ.domain.entity.TFavoritesExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TFavoritesMapper {
    long countByExample(TFavoritesExample example);

    int deleteByExample(TFavoritesExample example);

    int deleteByPrimaryKey(Integer fid);

    int insert(TFavorites record);

    int insertSelective(TFavorites record);

    List<TFavorites> selectByExample(TFavoritesExample example);

    TFavorites selectByPrimaryKey(Integer fid);

    int updateByExampleSelective(@Param("record") TFavorites record, @Param("example") TFavoritesExample example);

    int updateByExample(@Param("record") TFavorites record, @Param("example") TFavoritesExample example);

    int updateByPrimaryKeySelective(TFavorites record);

    int updateByPrimaryKey(TFavorites record);
}